MailPoet\Automation\Integrations\WooCommerce\Fields\OrderFieldsFactory S

Total Complexity 28
Dependencies 12
Dependents 3
Total lines 385
Lines of code 343
Logical lines of code 120
Comment lines 12
Methods 10
Properties 4

Methods 10

Method Rating Maintainability Complexity Lines of code
getFields()
A
27
3 231
getProducts()
S
54 6 22
getCouponOptions()
S
58 3 16
getOrderPaymentOptions()
S
63 4 10
previousOrderExists()
S
57 3 15
getOrderStatusOptions()
S
62 3 11
getProductOptions()
S
57 1 18
getBillingCountryOptions()
S
68 2 7
getShippingCountryOptions()
S
68 2 7
__construct()
S
71 1 6